﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;

namespace iAgent
{
    public class IOCHelper: DataModel.Core.IOContainer 
    {
        private UnityContainer Container { get; set; }
        public IOCHelper(UnityContainer container)
        {
            this.Container = container;
        }

        public T Resolve<T>()
        {
            return Container.Resolve<T>();
        }
    }
}
